#!/usr/bin/env bash

PREFIX=$(realpath $(cd "$(dirname "$0")"; pwd))

cd $PREFIX

make_ext4fs -l 1200M ubuntu.ext4 ubuntu-base-18.10-base-armhf
tar cfJ ubuntu.ext4.tar.xz ubuntu.ext4
rm ubuntu.ext4
